﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class controls_front_exbhSearch : System.Web.UI.UserControl
{
    private string TOURL = "exhibition.aspx";

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void search_Click(object sender, EventArgs e)
    {
        //传递参数,重定向到显示结果的页面
        HttpContext.Current.Response.Redirect(
            Request.ApplicationPath + "\\" + TOURL + "?searchId=" + this.field.SelectedValue + "&keyWord=" + this.keyWord.Text, true);
    }
}
